include_rules = [
  "+chrome/app",
  "+chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java",
  "+chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java",
  "+chrome/browser/android/browserservices/verification",
  "+chrome/browser/android/lifecycle",
  "+components/image_fetcher",
  "+chrome/browser/paint_preview/android",
  "+chrome/browser/password_check/android",
  "+chrome/browser/profiles/android/java",
  "+chrome/browser/share/android/java",
  "+chrome/browser/tab/java",
  "+chrome/browser/tabmodel/android/java",
  "+chrome/browser/tabpersistence/android/java",
  "+chrome/browser/thumbnail/generator/android/java",
  "+chrome/browser/endpoint_fetcher",
  "+chrome/browser/ui/android/appmenu",
  "-chrome/browser/ui/android/appmenu/internal",
  "+chrome/browser/optimization_guide/android/java/src/org/chromium/chrome/browser/optimization_guide",
  "+chrome/browser/ui/android/theme/java",
  "+chrome/browser/ui/messages/android/java",
  "+chrome/browser/signin/services/android/java",
  "+components/autofill/android/java/src/org/chromium/components/autofill",
  "+components/background_task_scheduler/android/java",
  "+components/bookmarks/common/android/java/src/org/chromium/components/bookmarks",
  "+components/browser_ui/notifications/android",
  "+components/browser_ui/settings/android",
  "+components/browser_ui/sms/android",
  "+components/browser_ui/styles/android",
  "+components/browser_ui/widget/android",
  "+components/crash/android",
  "+components/embedder_support/android",
  "+components/feature_engagement/public/android/java/src/org/chromium/components/feature_engagement",
  "+components/dom_distiller/core/android/java/src/org/chromium/components/dom_distiller/core",
  "+components/gcm_driver/android/java/src/org/chromium/components/gcm_driver",
  "+components/gcm_driver/instance_id/android/javatests/src/org/chromium/components/gcm_driver/instance_id",
  "+components/heap_profiling",
  "+components/location/android/java",
  "+components/minidump_uploader",
  "+components/module_installer",
  "+components/navigation_interception",
  "+components/offline_items_collection/core/android/java",
  "+components/omnibox/browser/android/java/src/org/chromium/components/omnibox",
  "+components/paint_preview/browser/android",
  "+components/paint_preview/player/android",
  "+components/payments/content/android/java/src/org/chromium/components/payments",
  "+components/permissions/android/java/src/org/chromium/components/permissions",
  "+components/safe_browsing/android/java/src/org/chromium/components/safe_browsing",
  "+components/search_engines",
  "+components/security_state/content/android/java",
  "+components/sync/android/java/src/org/chromium/components/sync",
  "+components/sync/test/fake_server/android",
  # We should only depend on the util package of something that lives in
  # javatests.
  "+components/sync/test/android/javatests/src/org/chromium/components/sync/test/util",
  "+components/webauthn/android/java",

  "-content/public/android/java",
  "+content/public/android/java/src/org/chromium/content_public",

  "-content/public/android/javatests",
  "+content/public/test/android/javatests",

  "+services/device/public/java",
]

specific_include_rules = {
  "WebappNavigationTest\.java": [
    "+content/public/android/java/src/org/chromium/content_public/common/ContentSwitches.java",
  ],
  "WebApkIntegrationTest\.java": [
    "+content/public/android/java/src/org/chromium/content_public/common/ContentSwitches.java",
  ],
  "AuthenticatorTest\.java": [
    "+content/public/android/java/src/org/chromium/content_public/common/ContentSwitches.java",
  ],
  "Fido2ApiTestHelper.java": [
    "+content/public/android/java/src/org/chromium/content/browser/ClientDataJsonImpl.java",
  ],
  "PageInfoPopupTest\.java": [
    "+content/public/android/java/src/org/chromium/content_public/common/ContentSwitches.java",
  ],
  "ToolbarPhoneTest\.java": [
    "+chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/ButtonData.java",
  ]
}
